package com.example.st.service;

import com.example.st.common.ResponseResult;
import com.example.st.entity.Info;

import java.util.List;

public interface InfoService {

    ResponseResult<List<Info>> getAllInfo();

    ResponseResult<Info> getInfoById(Long id);

    ResponseResult<Info> createInfo(Info info);

    ResponseResult<Info> updateInfo(Long id, Info infoDetails);

    ResponseResult<Void> invalidateInfo(Long id);

    ResponseResult<Void> activateInfo(Long id);
}
